home *** CD-ROM | disk | FTP | other *** search
-
- (*
- ** Windows 3.x <tm> DIB (Device-Independant Bitmap) - BMP - unit
- ** Most Windows and VPIC-converted BMP's are shown correctly. Better not
- ** try OS/2 <tm> BMP's: they'll probably hang with a runtime-error.
- **
- ** 4-bits RLE-compressed pictures are not supported, because I hadn't any
- ** to test the algo on. Because of the same reason I figured it wasn't
- ** realy usefull to implement it anyhow...
- **
- ** Made by Bas van Gaalen
- *)
-
- unit u_ffbmp;
-
- interface
-
- uses dos,graph;
-
- const
- bmp_ok=0;
- bmp_nobmp=1;
- bmp_nofile=2;
- bmp_nosupport=3;
- bmp_errfile=4;
-
- type
- bmp_inforec=record
- xres,yres:word;
- pixs:byte;
- end;
-
- var
- bmp_status:byte;
-
- function bmp_errstr:string;
- function bmp_display(fname,bgipath:pathstr; vidmode:shortint):byte;
- function bmp_info(fname:pathstr; var info:bmp_inforec):byte;
-
- implementation
-
-